package day1026_2;
public class E1 {
    public static void main(String[] args) {
        try {
            test();
        } catch (ArrayIndexOutOfBoundsException e) {
            System.out.println(e.getMessage());
        } finally {
            System.out.println("必须要执行的代码");
        }
    }
    static   void test() throws  ArrayIndexOutOfBoundsException{
        int[]  as={5, 60};
        System.out.println(as[5]);
    }

}









